package com.googlecode.svnj.callbacks;

import java.util.Map;

/**
 * same as org.tigris.subversion.javahl.LogMessageCallback, except taking
 * com.googlecode.svnj.mirror.ChangePath, instead of
 * org.tigris.subversion.javahl.ChangePath
 * @author dave
 *
 */
public interface LogMessageCallback
{
    /**
     * The method will be called for every log message.
     *
     * @param changedPaths   the paths that were changed
     * @param revision       the revision of the commit
     * @param revprops       All of the requested revision properties,
     *                       possibly including svn:date, svn:author,
     *                       and svn:log.
     * @param hasChildren    when merge sensitive option was requested,
     *                       whether or not this entry has child entries.
     */
    public void singleMessage(ChangePath[] changedPaths,
                              long revision,
                              Map revprops,
                              boolean hasChildren);
}
